js remove readonly attribute

83

js remove readonly attribute -

document.getElementById('myButton').onclick = function() {
    document.getElementById('myInput').removeAttribute('readonly');
};

Comments

Submit
0 Comments